<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>paysubmit</title>
</head>
<body onload="document.payFormCard.submit();">
<form name="payFormCard" method="post" action="' . $url . '">
    <input type="hidden" name="merchantId" value="' . $merchantId . '" readonly>
    <input type="hidden" name="amount" value="' . $amount . '" readonly>
    <input type="hidden" name="orderRef" value="' . $orderRef . '" readonly>
    <input type="hidden" name="currCode" value="' . $currCode . '" readonly>
    <input type="hidden" name="successUrl" value="' . $successUrl . '" readonly>
    <input type="hidden" name="failUrl" value="' . $failUrl . '" readonly>
    <input type="hidden" name="cancelUrl" value="' . $cancelUrl . '" readonly>
    <input type="hidden" name="payType" value="' . $paymentType . '" readonly>
    <input type="hidden" name="lang" value="' . $lang . '" readonly>
    <input type="hidden" name="mpsMode" value="' . $mpsMode . '" readonly>
    <input type="hidden" name="payMethod" value="' . $pMethod . '" readonly>
    <input type="hidden" name="secureHash" value="' . $secureHash . '" readonly>
</form>
</body>
</html>